<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{dede:field.title/}_{dede:global.cfg_webname/}</title>
<meta name="keywords" content="{dede:field name='keywords'/}" />
<meta name="description" content="{dede:field name='description' function='html2text(@me)'/}" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<meta content="email=no" name="format-detection">
<link href="/skin/css/pintuer.css" rel="stylesheet"/>
<script src="/skin/js/jquery.js"></script>
<script src="/skin/js/pintuer.js"></script>
<script src="/skin/js/respond.min.js"></script>
<link href="/skin/css/style.css" type="text/css" rel="stylesheet" />
</head>
<body>
{dede:include filename="head.htm"/} 
<!--end header-->
<div class="layout"> <img src="/skin/images/about.jpg" alt="{dede:field.title/}"/> </div>
<!--end banner-->
<div class="layout bg-gray margin-big-bottom">
  <div class="container">
    <ul class="bread">
      <li>{dede:field name='position'/}</li>
    </ul>
  </div>
</div>
<div class="layout padding-big-top padding-big-bottom margin-big-bottom">
  <div class="container">
    <h1 class="margin-big-bottom padding-big-top padding-big-bottom text-center contact-title">{dede:field name='typename'/}</h1>
    <div class="xl12 xs12 xm6 xb6 padding-big bg-gray">
      <p>
      <p>{dede:global.cfg_mc/}</p>
      <p>电话：{dede:global.cfg_dh/}</p>
      <p>传真：{dede:global.cfg_sj/}</p>
      <p>QQ：{dede:global.cfg_qq/}</p>
      <p>Email：{dede:global.cfg_yx/}</p>
      <p>地址：{dede:global.cfg_dz/}</p>
      </p>
    </div>
    <div class="xl12 xs12 xm6 xb6 padding-big-bottom padding-big-left">
      <form action="/plus/diy.php" enctype="multipart/form-data" method="post">
        <input type="hidden" name="action" value="post" />
        <input type="hidden" name="diyid" value="1" />
        <input type="hidden" name="do" value="2" />
        <div class="padding-top padding-bottom">
          <div class="form-group">
            <div class="field field-icon-right">
              <input type="text" class="input" name="xm" placeholder="怎么称呼您" data-validate="required:请填写您的称呼" />
            </div>
          </div>
          <div class="form-group">
            <div class="field field-icon-right">
              <input type="text" class="input" name="sj" placeholder="您的联系电话" data-validate="required:请填写您的联系电话,tel:请输入正确的电话号码" />
            </div>
          </div>
          <div class="form-group">
            <div class="field field-icon-right">
              <input type="text" class="input" name="yx" placeholder="您的邮箱地址" data-validate="required:请填写您的邮箱地址,email:请输入正确的邮箱账号" />
            </div>
          </div>
          <div class="form-group">
            <div class="field field-icon-right">
              <input type="text" class="input" name="nra" placeholder="您的留言内容" data-validate="required:请填写您的留言内容" />
            </div>
          </div>
          <input type="hidden" name="dede_fields" value="xm,text;yx,text;nra,multitext;sj,text" />
          <input type="hidden" name="dede_fieldshash" value="5b14cf258b40a319a7de3b8aadf7d6da" />
        </div>
        <input type="submit" class="button bg-main text-big margin-big-left padding-big-left padding-big-right" value="提交留言">
      </form>
    </div>
    <div class="clearfix"></div>
  </div>
</div>
<div class="layout bg-gray padding-big-top padding-big-bottom">
  <div class="container padding-big-top padding-big-bottom mapbox"> 
    <script type="text/javascript" src="/skin/js/map.js"></script>
    <div style="width:100%;height:550px;border:#ccc solid 1px;font-size:12px" id="map"></div>
    <script type="text/javascript">
    //创建和初始化地图函数：
    function initMap(){
      createMap();//创建地图
      setMapEvent();//设置地图事件
      addMapControl();//向地图添加控件
      addMapOverlay();//向地图添加覆盖物
    }
    function createMap(){ 
      map = new BMap.Map("map"); 
      map.centerAndZoom(new BMap.Point(113.747939,23.015428),16);
    }
    function setMapEvent(){
      map.enableScrollWheelZoom();
      map.enableKeyboard();
      map.enableDragging();
      map.enableDoubleClickZoom()
    }
    function addClickHandler(target,window){
      target.addEventListener("click",function(){
        target.openInfoWindow(window);
      });
    }
    function addMapOverlay(){
      var markers = [
        {content:"{dede:global.cfg_mc/}，电话{dede:global.cfg_dh/}",title:"{dede:global.cfg_webname/}",imageOffset: {width:0,height:3},position:{lat:23.015494,lng:113.746358}}
      ];
      for(var index = 0; index < markers.length; index++ ){
        var point = new BMap.Point(markers[index].position.lng,markers[index].position.lat);
        var marker = new BMap.Marker(point,{icon:new BMap.Icon("http://api.map.baidu.com/lbsapi/createmap/images/icon.png",new BMap.Size(20,25),{
          imageOffset: new BMap.Size(markers[index].imageOffset.width,markers[index].imageOffset.height)
        })});
        var label = new BMap.Label(markers[index].title,{offset: new BMap.Size(25,5)});
        var opts = {
          width: 200,
          title: markers[index].title,
          enableMessage: false
        };
        var infoWindow = new BMap.InfoWindow(markers[index].content,opts);
        marker.setLabel(label);
        addClickHandler(marker,infoWindow);
        map.addOverlay(marker);
      };
    }
    //向地图添加控件
    function addMapControl(){
      var scaleControl = new BMap.ScaleControl({anchor:BMAP_ANCHOR_BOTTOM_LEFT});
      scaleControl.setUnit(BMAP_UNIT_IMPERIAL);
      map.addControl(scaleControl);
      var navControl = new BMap.NavigationControl({anchor:BMAP_ANCHOR_TOP_LEFT,type:BMAP_NAVIGATION_CONTROL_LARGE});
      map.addControl(navControl);
      var overviewControl = new BMap.OverviewMapControl({anchor:BMAP_ANCHOR_BOTTOM_RIGHT,isOpen:true});
      map.addControl(overviewControl);
    }
    var map;
      initMap();
  </script> 
  </div>
</div>
<!--end about--> 
{dede:include filename="footer.htm"/}
</body>
</html>